<?php
	if($_SERVER["REQUEST_METHOD"]=="POST") {
			$title		= strip_tags($_POST['title']);
			$detail		= $_POST['detail'];
			$keyword	= keyword($detail);
			$ip			= getUserIP();
			$sql		= "INSERT INTO `tbl_webboard` (`topic_id`, `title`, `detail`, `keyword`, `member_id`, `ip`, `date`, `status`, `update`, `member_id_update`, `ssid`) VALUES (NULL, '$title', '$detail', '$keyword', '$ss_member_id', '$ip', NOW(), '1', NOW(), '$ss_member_id', '$ss_id');";
			mysql_query($sql);
			header("Location: /webboard/");
			exit;
	}
?>